package com.itheima.project.vo.search;
import com.itheima.project.basic.BasicVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
 * @author mrchen
 * @date 2022/3/8 15:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SearchPageVo<T>  extends BasicVo {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("页码")
    private Integer page;
    @ApiModelProperty("每页条数")
    private Integer size;
    @ApiModelProperty("返回集合")
    private List<T> records;
    @ApiModelProperty("总数量")
    private Long total;
}
